package com.zzyk.main.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 体检报告。月份
 */
@Data
@TableName(value = "tb_medical_report_month")
public class MedicalReportMonth {
    /**
     * ID主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业ID
     */
    @TableField(value = "enterpriseID")
    private Integer enterpriseID;

    /**
     * 总体评分
     */
    @TableField(value = "overallScore")
    private double overallScore;

    /**
     * 总结论
     */
    @TableField(value = "conclusion")
    private String conclusion;

    /**
     * A相电压最大值
     */
    @TableField(value = "maxAVoltage")
    private String maxAVoltage;

    /**
     * A相电压最小值
     */
    @TableField(value = "minAVoltage")
    private String minAVoltage;

    /**
     * A相电压平均值
     */
    @TableField(value = "avgAVoltage")
    private String avgAVoltage;

    /**
     * A相电压超限次数
     */
    @TableField(value = "overrunAVoltage")
    private Integer overrunAVoltage;

    /**
     * A相电压合格率
     */
    @TableField(value = "passRateAVoltage")
    private Double passRateAVoltage;

    /**
     * B相电压最大值
     */
    @TableField(value = "maxBVoltage")
    private String maxBVoltage;

    /**
     * B相电压最小值
     */
    @TableField(value = "minBVoltage")
    private String minBVoltage;

    /**
     * B相电压平均值
     */
    @TableField(value = "avgBVoltage")
    private String avgBVoltage;

    /**
     * B相电压超限次数
     */
    @TableField(value = "overrunBVoltage")
    private Integer overrunBVoltage;

    /**
     * B相电压合格率
     */
    @TableField(value = "passRateBVoltage")
    private Double passRateBVoltage;

    /**
     * C相电压最大值
     */
    @TableField(value = "maxCVoltage")
    private String maxCVoltage;

    /**
     * C相电压最小值
     */
    @TableField(value = "minCVoltage")
    private String minCVoltage;

    /**
     * C相电压平均值
     */
    @TableField(value = "avgCVoltage")
    private String avgCVoltage;

    /**
     * C相电压超限次数
     */
    @TableField(value = "overrunCVoltage")
    private Integer overrunCVoltage;

    /**
     * C相电压合格率
     */
    @TableField(value = "passRateCVoltage")
    private Double passRateCVoltage;

    /**
     * 电压质量分析结论
     */
    @TableField(value = "conclusionVoltage")
    private String conclusionVoltage;

    /**
     * 频率质量分析最大值
     */
    @TableField(value = "maxHz")
    private String maxHz;

    /**
     * 频率质量分析最小值
     */
    @TableField(value = "minHz")
    private String minHz;

    /**
     * 频率质量分析平均值
     */
    @TableField(value = "avgHz")
    private String avgHz;

    /**
     * 频率质量分析超限次数
     */
    @TableField(value = "overrunHz")
    private String overrunHz;

    /**
     * 频率质量分析合格率
     */
    @TableField(value = "passRateHz")
    private Double passRateHz;

    /**
     * 频率质量分析结论
     */
    @TableField(value = "conclusionHz")
    private String conclusionHz;

    /**
     * 三相不平衡最大值
     */
    @TableField(value = "maxUnbalanced")
    private String maxUnbalanced;

    /**
     * 三相不平衡最小值
     */
    @TableField(value = "minUnbalanced")
    private String minUnbalanced;

    /**
     * 三相不平衡平均值
     */
    @TableField(value = "avgUnbalanced")
    private String avgUnbalanced;

    /**
     * 三相不平衡超限次数
     */
    @TableField(value = "overrunUnbalanced")
    private String overrunUnbalanced;

    /**
     * 三相不平衡合格率
     */
    @TableField(value = "passRateUnbalanced")
    private Double passRateUnbalanced;

    /**
     * 三相不平衡结论
     */
    @TableField(value = "conclusionUnbalanced")
    private String conclusionUnbalanced;

    /**
     * 功率因数水平
     */
    @TableField(value = "powerFactorLevel")
    private String powerFactorLevel;

    /**
     * 功率因数超限次数
     */
    @TableField(value = "overrunPowerFactor")
    private String overrunPowerFactor;

    /**
     * 功率因数合格率
     */
    @TableField(value = "passPowerFactor")
    private Double passPowerFactor;

    /**
     * 功率因数结论
     */
    @TableField(value = "powerFactorConclusion")
    private String powerFactorConclusion;

    @TableField(value = "createTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @TableField(exist = false)
    private String counts;

    public static final String COL_ID = "id";

    public static final String COL_ENTERPRISEID = "enterpriseID";

    public static final String COL_OVERALLSCORE = "overallScore";

    public static final String COL_CONCLUSION = "conclusion";

    public static final String COL_MAXAVOLTAGE = "maxAVoltage";

    public static final String COL_MINAVOLTAGE = "minAVoltage";

    public static final String COL_AVGAVOLTAGE = "avgAVoltage";

    public static final String COL_OVERRUNAVOLTAGE = "overrunAVoltage";

    public static final String COL_PASSRATEAVOLTAGE = "passRateAVoltage";

    public static final String COL_MAXBVOLTAGE = "maxBVoltage";

    public static final String COL_MINBVOLTAGE = "minBVoltage";

    public static final String COL_AVGBVOLTAGE = "avgBVoltage";

    public static final String COL_OVERRUNBVOLTAGE = "overrunBVoltage";

    public static final String COL_PASSRATEBVOLTAGE = "passRateBVoltage";

    public static final String COL_MAXCVOLTAGE = "maxCVoltage";

    public static final String COL_MINCVOLTAGE = "minCVoltage";

    public static final String COL_AVGCVOLTAGE = "avgCVoltage";

    public static final String COL_OVERRUNCVOLTAGE = "overrunCVoltage";

    public static final String COL_PASSRATECVOLTAGE = "passRateCVoltage";

    public static final String COL_CONCLUSIONVOLTAGE = "conclusionVoltage";

    public static final String COL_MAXHZ = "maxHz";

    public static final String COL_MINHZ = "minHz";

    public static final String COL_AVGHZ = "avgHz";

    public static final String COL_OVERRUNHZ = "overrunHz";

    public static final String COL_PASSRATEHZ = "passRateHz";

    public static final String COL_CONCLUSIONHZ = "conclusionHz";

    public static final String COL_MAXUNBALANCED = "maxUnbalanced";

    public static final String COL_MINUNBALANCED = "minUnbalanced";

    public static final String COL_AVGUNBALANCED = "avgUnbalanced";

    public static final String COL_OVERRUNUNBALANCED = "overrunUnbalanced";

    public static final String COL_PASSRATEUNBALANCED = "passRateUnbalanced";

    public static final String COL_CONCLUSIONUNBALANCED = "conclusionUnbalanced";

    public static final String COL_POWERFACTORLEVEL = "powerFactorLevel";

    public static final String COL_OVERRUNPOWERFACTOR = "overrunPowerFactor";

    public static final String COL_PASSPOWERFACTOR = "passPowerFactor";

    public static final String COL_POWERFACTORCONCLUSION = "powerFactorConclusion";

    public static final String COL_CREATETIME = "createTime";
}